#!/bin/csh -f
###########################################
# Script file to run the flow 
# 
###########################################
#
# Command line for xst
#
xst -ifn base_xst.scr -ofn base_xst.log -intstyle xflow 

#
# Command line for ngdbuild
#
ngdbuild -p xc3s500e-4-fg320 -nt timestamp -intstyle xflow "base.ngc" base.ngd 

#
# Command line for map
#
map -o base_map.ncd -intstyle xflow base.ngd base.pcf 

#
# Command line for par
#
par -w -ol std -intstyle xflow base_map.ncd base.ncd base.pcf 

#
# Command line for post_par_trce
#
trce -e 3 -intstyle xflow -xml base.twx base.ncd base.pcf 

#
# Command line for bitgen
#
bitgen -l -w -m -intstyle xflow base.ncd 

